<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<div class="pageContent">
	<form method="post" action="${rootUrl}/goods/goods-limit-time/${goodsLimitTime.id}" class="pageForm required-validate" onsubmit="return validateCallback(this, editDialogAjaxDone);">
		 <c:if test="${goodsLimitTime.id != 0 && goodsLimitTime.id != '' }"><input type="hidden" name="_method" value="put"></c:if>
		<input type="hidden" name="goodsLimitTime.id" value="${goodsLimitTime.id}">
		<div class="pageFormContent" layoutH="56">
			
			<p>
				<label>商品名称：</label>
				<input type="hidden"  name="goods.id" readonly="readonly" size="30" value="${goodsLimitTime.goods.id}"/>
				<input type="text"  name="goods.name" class="required" readonly="readonly" size="30" value="${goodsLimitTime.goods.name}"/>
			    <a class="btnLook" href="${rootUrl}/goods/goods/1/dialog?goods=${goodsLimitTime.goods.id}" lookupGroup="goods" width="1320" height="800">商品</a>
			</p>
			<p>
				<label>开始时间：</label>
				<input type="text" name="goodsLimitTime.startTime" class="required date" readonly="readonly" size="30" dateFmt="yyyy-MM-dd HH:mm:ss" value="<fmt:formatDate value="${goodsLimitTime.startTime}" pattern="yyyy-MM-dd HH:mm:ss"/>" /><a class="inputDateButton" href="javascript:;">选择</a>
			</p>
			<p>
				<label>结束时间：</label>
				<input type="text" name="goodsLimitTime.endTime" class="required date" readonly="readonly" size="30" dateFmt="yyyy-MM-dd HH:mm:ss" value="<fmt:formatDate value="${goodsLimitTime.endTime}" pattern="yyyy-MM-dd HH:mm:ss"/>" /><a class="inputDateButton" href="javascript:;">选择</a>
			</p>
   		 </div>
    	<div class="formBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button id="theSubmit" type="submit">保存</button></div></div></li>
				<li>
					<div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div>
				</li>
			</ul>
		</div>
    </form>
   </div>
